# -*- coding:utf-8 -*-
import redis

client = redis.Redis(host='127.0.0.1', port=56379, decode_responses=True)

rs = client.get('a')
client.zadd("myzset", {'tom': 99})
client.zrange('myzset', 0, -1, withscores=True)
# rsl = client.lrange("rp_mylist", 0, -1)
print('{}'.format(rs))
